package com.spt.springbootzhsx.service;

import com.spt.springbootzhsx.entity.Order;
import com.spt.springbootzhsx.entity.back.OrderBack;

import java.util.ArrayList;

public interface OrderService {
   ArrayList<OrderBack> getAllOrder();
   String addOrder(Order order);
   ArrayList<Order> getOrderByPid(Integer pid);
   ArrayList<OrderBack> getOrderHistory(Integer uid);
   String deleteOrder(Integer oid);
   ArrayList<OrderBack> getOrderByUnameOrMname(String key);
}
